package com.darren.euc.service;

import java.util.List;

import com.darren.euc.entity.Extension;
import com.darren.euc.entity.PageBean;

import net.sf.json.JSONObject;

public interface ExtensionService {
    
	public Extension save(Extension extension);
    
	public Extension update(Extension extension);
	
	public void delete(Extension extension);
	
	public Extension getExtensionByName(String fieldName);
    
	public List<Extension> getAll();
	
	public List<Extension> getAllEnableExtensions();
    
	public PageBean queryForPageUseHQL(JSONObject requestJson,Integer pageSize, Integer currentPage);

	
}